package com.mp.ipm2020.mbg.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @Auther adidasshe@mp.cn
 * <p>
 * 下发控制参数
 */
@Getter
@Setter
public class ControlData {

    @ApiModelProperty(value = "操作员")
    private String operator;

    @ApiModelProperty(value = "开关1操作：0-1")
    private Integer switchSet1;

    @ApiModelProperty(value = "开关2操作：0-1")
    private Integer switchSet2;

    @ApiModelProperty(value = "开关3操作：0-1")
    private Integer switchSet3;

    @ApiModelProperty(value = "开关1电流阈值")
    private Double leakageCurrentSet1;

    @ApiModelProperty(value = "开关2电流阈值")
    private Double leakageCurrentSet2;

    @ApiModelProperty(value = "开关3电流阈值")
    private Double leakageCurrentSet3;

    @ApiModelProperty(value = "功率因数")
    private Double powerFactorSet1;

    @ApiModelProperty(value = "开关延迟")
    private Double switchDelaySet1;

    @ApiModelProperty(value = "CT变化值")
    private Double ctVarValue;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "设备ID")
    private Long deviceId;

    @ApiModelProperty(value = "设备数字ID")
    private String device_id;
}
